let Mock=require('mockjs');
let Random=Mock.Random;

module.exports=function(){
    let data={
        userinfo:[]
    }
    for(let i=1;i<101;i++){
       let num=Math.floor((Math.random()+0.1)*100000)
        data.userinfo.push({
            id:i,
            username:Random.cname(2,3),
            account:num,
            pwd:"123456"
        })
    }
    return data;
}